package jee.boot.module.oauth2.auth.verification;

import jee.boot.entity.auth.Account;
import org.springframework.security.oauth2.provider.TokenRequest;

/**
 * 账户验证上下文
 */
public class AccountVerificationContext {
    private TokenRequest tokenRequest;// token的请求request,里面包含了请求的参数
    private Account account;//登录账户信息(根据username从数据库中查询得来)
//    private Map<String, SystemConfig> accountConfigMap;//账户配置信息
    public TokenRequest getTokenRequest() {
        return tokenRequest;
    }

    public void setTokenRequest(TokenRequest tokenRequest) {
        this.tokenRequest = tokenRequest;
    }

    public Account getAccount() {
        return account;
    }

    public void setAccount(Account account) {
        this.account = account;
    }

//    public Map<String, SystemConfig> getAccountConfigMap() {
//        return accountConfigMap;
//    }
//
//    public void setAccountConfigMap(Map<String, SystemConfig> accountConfigMap) {
//        this.accountConfigMap = accountConfigMap;
//    }
}
